package com.capsulode.excel.exception;

/**
 * 封装单元格处理失败信息.
 */
public class CellFailure {
    private final int row;
    private final int column;
    private final String header;
    private final String message;

    public CellFailure(int row, int column, String header, String message) {
        this.row = row + 1;
        this.column = column + 1;
        this.header = header;
        this.message = message;
    }

    public int getRow() {
        return row;
    }

    public int getColumn() {
        return column;
    }

    public String getHeader() {
        return header;
    }

    public String getMessage() {
        return message;
    }
}
